Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.isnumber

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.isnumber

The lodash method `_.isNumber` exported as a module.

  • 3.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14M
increased by1.99%
Maintainers
3
Weekly downloads
 
Created

What is lodash.isnumber?

The lodash.isnumber package is a utility function that checks if a given value is classified as a number primitive or object. It is part of the Lodash library, which is a popular utility library for JavaScript.

What are lodash.isnumber's main functionalities?

Check if a value is a number

This feature allows you to check if a given value is a number. It returns true for number primitives and objects, including NaN, and false for non-number values.

const isNumber = require('lodash.isnumber');
console.log(isNumber(123)); // true
console.log(isNumber('123')); // false
console.log(isNumber(NaN)); // true

Other packages similar to lodash.isnumber

Keywords

FAQs

Package last updated on 03 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc